package com.css.fxfzxczh.modules.synthesizeInfoManage.knowledgeManagement.service;

import com.css.fxfzxczh.base.response.RestResponse;
import com.css.fxfzxczh.modules.synthesizeInfoManage.knowledgeManagement.entity.KnowledgeManagement;
import com.css.fxfzxczh.modules.synthesizeInfoManage.knowledgeManagement.vo.KnowledgeManagementVO;
import com.css.fxfzxczh.modules.synthesizeInfoManage.personnelManagement.entity.PersonnelManagement;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface KnowledgeManagementService {
    void save(KnowledgeManagement param);

    void updateById(KnowledgeManagement param);

    void deleteById(String id);

    Map<String, Object> getPage(KnowledgeManagement queParams, int curPage, int pageSize);

    void updateFile(String id, String fileId, String fileType,String attachmentName);

    void parseExcel(String fileId, String xsemId);

    KnowledgeManagement getKnowledgeCode(String xsemId);

    void exportData(HttpServletResponse response, KnowledgeManagement param);

    KnowledgeManagementVO findById(String id);

    RestResponse importExcel(MultipartFile file, String xsemId) throws Exception;

    String getCode(String eventCode);
}
